<?php /* Smarty version 2.6.2, created on 2011-09-18 00:20:33
         compiled from support.tpl */ ?>
<div class="MainContent">	
<?php if ($this->_tpl_vars['say'] == 'send'): ?>
<h3 align=left>Support Form:</h3>
<p align=left>
	Message has been successfully sent. We will back to you in next 24
	hours. Thank you.<br> <br>
</p>
<?php else: ?> 
	<?php if ($this->_tpl_vars['say'] == 'pay'): ?>
			<div class="box1 Box1Style2"><span class="Box1Text">Notice</span></div>
			<div class="box2">
				<td class="box2" valign="top"> 
						<table width="85%" border="0" cellspacing="0" cellpadding="0" align="center">
							<tr>
								<td align="center"><h3>Pay Now!</h3></td>
							</tr>
							<tr>
								<td align="center">Your AD Request has been successfully sent.You can Pay Your AD Fee Now!</td>
							</tr>
							<tr>
								<td align="center">
									<b>You Have to Pay : <font color="#ff0000">$<?php echo $this->_tpl_vars['fee']; ?>
 </font>.
									Please choose Payment Type</b>
								</td>
								<!--LR Pay start-->
							</tr>
							<tr>
								<td align="center">
								<!--<form method="GET" action="https://sci.libertyreserve.com"> -->
									<form method="GET" action="<?php echo $this->_tpl_vars['settings']['site_url']; ?>
/?a=lr_processing&say=success">
										<input type="hidden" name="lr_acc" value="<?php echo $this->_tpl_vars['settings']['admin_lr_account']; ?>
"  /> 
										<input type="hidden" name="lr_amnt" value="<?php echo $this->_tpl_vars['fee']; ?>
" > 
										<input type="hidden" name="lr_currency" value="LRUSD" /> 
										<input type="hidden" name="lr_comments" value="AD From:<?php echo $this->_tpl_vars['ip']; ?>
/<?php echo $this->_tpl_vars['email']; ?>
" />
										<input type="hidden" name="lr_success_url" value="<?php echo $this->_tpl_vars['settings']['site_url']; ?>
/?a=lr_processing&say=success" /> 
										<input type="hidden" name="lr_success_url_method" value="POST" />  
										<!-- <input type="hidden" name="lr_fail_url" value="<?php echo $this->_tpl_vars['settings']['site_url']; ?>
/?a=lr_processing&say=notsuccess" /> --> 
										<input type="hidden" name="lr_fail_url" value="<?php echo $this->_tpl_vars['settings']['site_url']; ?>
/?a=lr_processing&say=success" /> 
										<input type="hidden" name="lr_fail_url_method" value="POST" /> 
										<input type="hidden" name="lr_status_url" value="<?php echo $this->_tpl_vars['settings']['site_url']; ?>
" /> 
										<br>
										
										<input type="hidden" name="a" value="lr_processing" />
										<input name="LibertyReserve" src="images/paywithLR.gif" onclick="submit"border="0" type="image">  
									</form>
								</td>
							</tr>
						</table>
					</td>
			</div>
	
			<!-- LR pay end-->
	<?php else: ?>
		<?php echo '
			<script language=javascript>
					function checkform() {
					  if (document.mainform.name.value == \'\') {
					    alert("Please type your full name!");
					    document.mainform.name.focus();
					    return false;
					  }
					  if (document.mainform.email.value == \'\') {
					    alert("Please enter your e-mail address!");
					    document.mainform.email.focus();
					    return false;
					  }
					  if (document.mainform.message.value == \'\') {
					    alert("Please type your message!");
					    document.mainform.message.focus();
					    return false;
					  }
					  return true;
					}
				
			</script>
		'; ?>

		<form method=post name=mainform onsubmit="return checkform()">
			<input type=hidden name=a value=support> 
			<input type=hidden name=action	value=send>
			<div class="box1 Box1Style2"><span class="Box1Text">Support Form</span></div>
			<div class="box2">
				<table align="center" cellspacing=1 cellpadding=2 border="0">
					<tr align=left>
						<th>Your Name:</th>
						<td><input type="text" name="name" size=30 class=inpts></td>
					</tr>
					<tr align=left>
						<th>Your Email:</th>
						<td><input type="text" name="email" size=30 class=inpts></td>
					</tr>
					<tr align=left>
						<th align="right">Message:</th>
						<td><textarea name=message class=inpts cols=45 rows=4></textarea></td>	 
					</tr>
					<tr align=left>
						<td>&nbsp;</td>
						<td><input type=submit value="Send" class=sbmt></td>
					</tr>
				</table>
			</div>
		</form>
	<?php endif; ?> 
<?php endif; ?> 
</div>